package org.spring.learn.demo.annotation.configures.imports;

import org.spring.learn.project.entity.MonKey;
import org.springframework.beans.factory.FactoryBean;

public class MyFactoryBean implements FactoryBean<MonKey> {
    @Override
    public MonKey getObject() throws Exception {
        return new MonKey();
    }

    @Override
    public Class<?> getObjectType() {
        return MonKey.class;
    }

    @Override
    public boolean isSingleton() {
        return false;
    }
}
